<?php

namespace App\Repositories\RBAC;

use App\Repositories\BaseRepository;


/**
 * Interface UserRepository.
 *
 * @package namespace App\Repositories;
 */
interface UserRepository extends BaseRepository
{
    //
    /**
     * 判断用户是否存在
     * @param $name
     * @param int $id
     * User: Zhangxy
     * Date: 2018-08-18
     * @return bool
     */
    public function existUser($name, $id = 0);
}
